﻿using System.Windows;
using RLProject1.ViewModel;

namespace RLProject1 {
    /// <summary>
    /// Interaction logic for App.xaml.
    /// <para>Einstiegspunkt der Anwendung: startet MainWindow.xaml und setzt den DataContext auf <see cref="MainWindowViewModel"/></para>
    /// </summary>
    public partial class App : Application {

        protected override void OnStartup(StartupEventArgs e) {
            base.OnStartup(e);
            MainWindow window = new MainWindow();

            var viewModel = new MainWindowViewModel();
            window.DataContext = viewModel;

            window.Show();
        }

    }
}
